package cn.ctbu.xiaopeng.studentscoremanage.dao;

import cn.ctbu.xiaopeng.studentscoremanage.pojo.entity.Department;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author xiaopeng
 * @version 1.0
 */
public interface DepartmentRepository extends JpaRepository<Department,Integer> {
    /**
     * 根据部门id查询部门
     * @param departmentId
     * @return
     */
    Department findDepartmentByDepartmentId(String departmentId);
}
